package com.jlp.source.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lingpeng.jiang
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.datasource.mysql")
public class MysqlDataSourceProperties {

    private String username;

    private String password;

    private String url;

    private String driverClassName;
}
